package com.stnet.entity;

import java.sql.Timestamp;
import java.util.Date;

/**
 * Saleorder entity. @author MyEclipse Persistence Tools
 */

public class Saleorder implements java.io.Serializable {

	// Fields

	private Long id;
	private String saleNo;
	private String phonePassword;
	private String saleType;
	private Users user;
	private Date editetime;
	private String state;
	private Long SUser;
	private String phoneState;
	private String paymentState;
	private String comments;
	private Long discount;

	// Constructors

	/** default constructor */
	public Saleorder() {
	}

	/** full constructor */
	public Saleorder(String saleNo, String phonePassword, Users user,
			Timestamp editetime, String state, Long SUser,
			String phoneState, String paymentState, String comments) {
		this.saleNo = saleNo;
		this.phonePassword = phonePassword;
		this.user = user;
		this.editetime = editetime;
		this.state = state;
		this.SUser = SUser;
		this.phoneState = phoneState;
		this.paymentState = paymentState;
		this.comments = comments;
	}

	// Property accessors

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getSaleNo() {
		return this.saleNo;
	}

	public void setSaleNo(String saleNo) {
		this.saleNo = saleNo;
	}

	public String getPhonePassword() {
		return this.phonePassword;
	}

	public void setPhonePassword(String phonePassword) {
		this.phonePassword = phonePassword;
	}

	public Users getUser() {
		return this.user;
	}

	public void setUser(Users user) {
		this.user = user;
	}

	public Date getEditetime() {
		return this.editetime;
	}

	public void setEditetime(Date editetime) {
		this.editetime = editetime;
	}

	public String getState() {
		return this.state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public Long getSUser() {
		return this.SUser;
	}

	public void setSUser(Long SUser) {
		this.SUser = SUser;
	}

	public String getPhoneState() {
		return this.phoneState;
	}

	public void setPhoneState(String phoneState) {
		this.phoneState = phoneState;
	}

	public String getPaymentState() {
		return this.paymentState;
	}

	public void setPaymentState(String paymentState) {
		this.paymentState = paymentState;
	}

	public String getComments() {
		return this.comments;
	}

	public void setComments(String comments) {
		this.comments = comments;
	}

	public String getSaleType() {
		return this.saleType;
	}

	public void setSaleType(String saleType) {
		this.saleType = saleType;
	}

	public Long getDiscount() {
		return this.discount;
	}

	public void setDiscount(Long discount) {
		this.discount = discount;
	}
	

}